#!/bin/sh
#desc:Pauses/unpauses the mpg123
#package:odbgmusic
#type:local

CONFILE=/etc/opendomo/bgmusic.conf
. $CONFILE

# If brmusic is running we pause/unpause it
if test -e $PID; then
	echo "PAUSE"	> $TMPFILE 
fi

# Always return to bgmusic web controler

/usr/local/opendomo/bgmusicControl.sh

